<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>错误 - 生活状态评分系统</title>
    <link href="/static/bootstrap.min.css" rel="stylesheet">
</head>
<body>
    <nav class="navbar navbar-expand-lg navbar-light bg-light">
        <div class="container">
            <a class="navbar-brand" href="/">生活状态评分系统</a>
            <div class="navbar-nav">
                <a class="nav-link" href="/judge">评分页面</a>
                <a class="nav-link" href="/manage">评分项管理</a>
                <a class="nav-link" href="/history">历史评分</a>
            </div>
        </div>
    </nav>

    <div class="container mt-5">
        <div class="alert alert-danger" role="alert">
            <h4 class="alert-heading">发生错误！</h4>
            <p>{{ error }}</p>
            <hr>
            <p class="mb-0">请返回<a href="/" class="alert-link">首页</a>重试。</p>
        </div>
    </div>

    <script src="/static/bootstrap.bundle.min.js"></script>
</body>
</html> 